<?php

class Txy_Extends_TempTaobaoPageinator extends Zend_Paginator_Adapter_DbSelect {
  	
	public function getItems($offset, $itemCountPerPage)
    {
        $items=parent::getItems($offset, $itemCountPerPage);
        $pinYin=new Txy_Util_PinYin();
        
        foreach ($items as &$item){
        	$item['url_spell']=$pinYin->getPinYin(mb_convert_encoding($item['taobao_title'],'gbk','utf-8'));
        	
        }

        return $items;
    }
}

?>